﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GameField
{
    class GameNode
    {


        public int X { get; set; }
        public int Y { get; set; }
        
        public Char NodeSymbol { get; set; }

        public GameNode(int x, int y,  Char symbol)
        {
            X = x;
            Y = y;
        
            NodeSymbol = symbol;
        }            
        public void MoveUp()
        {
            Y--;
        }
        public void MoveDown()
        {
            Y++;
        }
        public void MoveRight()
        {
            X++;
        }
        public void MoveLeft()
        {
            X--;
        }
    }
}
